<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/inc/common.jsp"%>
<html>
<head>
<title>南卡口入境放行卡查询</title>
<script type="text/javascript" src="${basePath}/business/search/cardReleaseOut.js" ></script>
</head>
<body>
	<div class="easyui-layout" data-options="fit:true" >
		<div data-options="region:'north', title:'查询条件',split:true,collapsed:false,footer:'#searchfooter'" style="overflow: hidden;">
			<!-- 查询条件 -->
			<div style="padding:10px 5px 45px 20px;">
				<form id="searchForm" name="searchForm" >
					<table class="search-table" style="width:'100%';"  >
						<tr>
							<td align="right" width="10%">车牌号:</td>
							<td>
								<input class="easyui-textbox" type="text" id="carNo" name="carNo"></input>
							</td>
						</tr>
					</table>
				</form>
			</div>
			<div id="searchfooter" style="text-align:right;padding: 0px 10px">
				<a href="javascript:void(0)" class="easyui-linkbutton" onclick="doQry()"  data-options="iconCls:'icon-search',plain:true" >查询</a>
				<span class="search-btn-separator"></span>
				<a href="javascript:void(0)" class="easyui-linkbutton" onclick="doReset()" data-options="iconCls:'icon-cross',plain:true">重置</a>
			</div>
		</div>
		<!-- 数据列表 -->
		<div  data-options="region:'center',title:'查询结果列表'" >
			<table id="datagrList" class="easyui-datagrid"
					data-options="url:'<%=path %>/bus/cardReleaseSearch/query4.do',border:true,singleSelect:false,fit:true,fitColumns:true,pageSize:10,pagination:true,pageList:[10,20,30],rownumbers:true,onLoadSuccess:onLoadSuccess">
				<thead>
					<tr>
						<!-- <th data-options="field:'id',checkbox:true"></th> -->
						<th data-options="field:'CAR_NO',align:'center',width:'10%'" >车牌号</th>
						<th data-options="field:'SERIAL_NO',align:'center',width:'10%'">流水号</th>
						<th data-options="field:'TOTAL_NUM',align:'center',width:'10%'" >总人数</th>
						<th data-options="field:'NATIONALITY',align:'center',width:'10%',
							formatter:function(value,row,index){
		                	return parent.formartDic(value,'1005')
		            		}" >国籍</th>
						<th data-options="field:'ENTRY_TIME',align:'center',formatter:changeDateTimeToString,width:'15%'">入境时间</th>
						<th data-options="field:'CAR_TYPE',align:'center',width:'10%',
							formatter:function(value,row,index){
		                	return parent.formartDic(value,'1009')
		            		}" >车辆类型</th> 
						<th data-options="field:'FINAL_CHECK_STATE',align:'center',formatter:formatStateImage,width:'10%'" >终检亭状态</th>
						<th data-options="field:'BORDER_CHECK_STATE',align:'center',formatter:formatStateImage,width:'10%'" >边检状态</th>
						<th data-options="field:'NATION_CHECK_STATE',align:'center',formatter:formatStateImage,width:'10%'" >国检状态</th>
						<th data-options="field:'PORT_CHECK_STATE',align:'center',formatter:formatStateImage,width:'10%'" >口岸状态</th>
						<th data-options="field:'CUSTOM_CHECK_STATE',align:'center',formatter:formatStateImage,width:'10%'" >海关状态</th>
						<th data-options="field:'GATE_CHECK_STATE',align:'center',formatter:formatStateImage,width:'10%'" >南卡口状态</th>
						<th data-options="field:'BACK_CAR_REASON',align:'center',width:'10%'" >退车原因</th>
						<th data-options="field:'BACK_DEP_NAME',align:'center',width:'10%'" >退车部门</th>
						<th data-options="field:'BACK_CAR_REASON',align:'center',width:'20%'" >退车备注</th>
						<th data-options="field:'FINAL_CHECK_DATE',align:'center',formatter:changeDateTimeToString,width:'15%'" >终检亭入境放行时间</th>
						<th data-options="field:'BORDER_CHECK_DATE',align:'center',formatter:changeDateTimeToString,width:'15%'" >通道边检放行时间</th>
						<th data-options="field:'GATE_CHECK_DATE',align:'center',formatter:changeDateTimeToString,width:'15%'" >南卡口入境放行时间</th>
					</tr>
				</thead>
			</table>
		</div>
	</div>
</body>
</html>
